---
- name: install rkhunter (dnf)
  package: name=rkhunter state=present
  notify:
  - run rkhunter
  tags:
  - rkhunter
  - packages

- name: rkhunter.conf
  template: src=rkhunter.conf.j2 dest=/etc/rkhunter.conf mode=0640
  notify:
  - run rkhunter
  tags:
  - rkhunter
  - config

- name: rkhunter sysconfig
  copy: src=rkhunter.sysconfig dest=/etc/sysconfig/rkhunter mode=0640
  notify:
  - run rkhunter
  tags:
  - rkhunter
  - config
